﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Limpio.Master" Inherits="System.Web.Mvc.ViewPage<FONCREAGROINTEGRAL.Models.AFILIACIONSP>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm("Create", "afiliacionsistemapension", FormMethod.Post, new { id = "afiliacionsistemapension" }))
       {%>
        <%: Html.ValidationSummary(true)%>

            <div class="divLC">
            <div class="divLabel">
                Sistema de Pensiones
            </div>
            <div class="divcampo2" id= "divIdSistemaPensiones">
                <%: Html.HiddenFor(model => model.IdSistemaPensiones)%>
                <%: Html.ValidationMessageFor(model => model.IdSistemaPensiones)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                Fecha Afiliacion
            </div>
            <div class="divcampo2" id="divFechaAfiliacion">
                
                <%: Html.ValidationMessageFor(model => model.FechaAfiliacion)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                <%: Html.LabelFor(model => model.CUSPP)%>
            </div>
            <div class="divcampo2">
                <%: Html.TextBoxFor(model => model.CUSPP)%>
                <%: Html.ValidationMessageFor(model => model.CUSPP)%>
            </div>
            </div>
                  
            <div class="divLC">
            <div class="divLabel">
                Tipo de Afiliacion
            </div>
            <div class="divcampo2" id= "combotipoafiliacion">
                <%: Html.HiddenFor(model => model.IdTipoAfiliacion)%>
                <%: Html.ValidationMessageFor(model => model.IdTipoAfiliacion)%>
            </div>
            </div>    
                   
            <p>
                <input type="submit" value="Guardar" />
            </p>

    <% } %>

</asp:Content>

